class AddGridNetBean {
  int? id;
  int? customerInfoId;
  int? saveOrSubmit;
  String? capacity;
  String? gridConnectedAddress;
  String? electricNumber;
  String? correlationNumber;
  String? contractSignDate;
  String? remarks;
  List<int>? recordForm;
  List<int>? other;

  AddGridNetBean(
      {this.id,
      this.customerInfoId,
        this.capacity,
      this.gridConnectedAddress,
      this.electricNumber,
      this.correlationNumber,
      this.contractSignDate,
      this.remarks,
      this.recordForm,
      this.other,this.saveOrSubmit});

  AddGridNetBean.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    customerInfoId = json['customerInfoId'];
    capacity = json['capacity'];
    gridConnectedAddress = json['gridConnectedAddress'];
    electricNumber = json['electricNumber'];
    correlationNumber = json['correlationNumber'];
    contractSignDate = json['contractSignDate'];
    remarks = json['remarks'];
    saveOrSubmit = json['saveOrSubmit'];
    if(json['recordForm'] != null){
      recordForm = json['recordForm'].cast<int>();
    }
    if(json['other'] != null){
      other = json['other'].cast<int>();
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['customerInfoId'] = this.customerInfoId;
    data['capacity'] = this.capacity;
    data['gridConnectedAddress'] = this.gridConnectedAddress;
    data['electricNumber'] = this.electricNumber;
    data['correlationNumber'] = this.correlationNumber;
    data['contractSignDate'] = this.contractSignDate;
    data['remarks'] = this.remarks;
    data['recordForm'] = this.recordForm;
    data['other'] = this.other;
    data['saveOrSubmit'] = this.saveOrSubmit;
    return data;
  }
}
